<{Tinclude "commom/admin_header"}>
   <{Tinclude"tenantcommom/tenant_inner_header"}>
    <{Tinclude"tenantcommom/tenant_left_menu"}>
    <section id="main-content">
          <section class="wrapper">
            <h3><i class="fa fa-angle-right"></i> 租房</h3>
              <div class="row mt">
                
                  <div class="col-lg-12">
                      <div class="row">
                         
                          
<{if isset($list)&&$list}>
<{foreach $list as $v}>
<div class="col-lg-4 col-md-4 col-sm-4 mb">
<div class="white-panel pn">
    <div class="gray-header">
        <h5>编号:<{$v["room_no"]}></h5>
     </div>
    
    <div class="centered jpphoto">
        <div class="photo-wrapper">
            <div class="photo allimages">
             <a  rel="group" href="/<{$v["image"]}>"><img src="<{$v["thumb"]}>" width="355.328"  height="263" alt="" /></a>
             <{foreach $v["imageslist"] as $v2}>
             <a c rel="group" href="/<{$v2["image"]}>"><img src="<{$v2["thumb"]}>" width="355.328"  height="263" alt="" /></a>
             <{/foreach}>
            </div>
        </div>    
     </div>
    <div class="jplocal"><div class="zujin">房租:￥<{$v["rent"]}></div><{if isset($v["deposit"])&&$v["deposit"]}><div class="yajin">押金:￥<{$v["deposit"]}></div><{/if}></div>
    <div class="jpaddorder"><a href="<{echo Common::RewriteUrl("Tenantadmin","orderadd","&roomid=".$v["id"]);}>"><div class="jpaddorder_btn"><span class="fa fa-hand-o-right"></span>下订单</div></a></div>
    <div class="jpdesc"><{$v["desc"]}></div>

    
</div>
</div>
<{/foreach}>
 <div class="col-md-12 text-center">
 <?php Temp::Tinclude("commom/pager");?>
 </div>
<{else}>
 <div class="col-md-12 col-xs-12">
 <h4 class="text-center">数据为空</h4>
</div>
<{/if}>
                          
                          
                          
                          
                          
                      </div>
                  </div>
                  
              </div>
          </section>
    </section>
    <script>
        $(document).ready(function(){
            jQuery("a[rel=group]").fancybox({'cyclic'        : true});
            $(".fancyboxx").click(function(){
              
            });
        });
    </script>
<{Tinclude"commom/admin_footer"}>